package com.orhon.smartcampus.modules.student.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "student_operating", schema = "smartcloud", catalog = "")
public class Operating {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;
    
    @Column(name = "student_id", nullable = true)
    private Long student_id;
    
    @Column(name = "content", nullable = true, length = 255)
    private String content;
    
    @Column(name = "user_id", nullable = true, length = 191)
    private Integer user_id;
    
    @Column(name = "user_name", nullable = true, length = 191)
    private String user_name;
    
    @Column(name = "created_at", nullable = true)
    private Date created_at;
    
    @Column(name = "operate", nullable = true)
    private String operate;
    
    @Column(name = "rewards_id", nullable = true)
    private Long rewards_id;
    
    @Column(name = "honor_id", nullable = true)
    private Long honor_id;

}
